#pragma once


// CTimeTip

class CTimeTip : public CWnd
{
	DECLARE_DYNAMIC(CTimeTip)

public:
	CTimeTip();
	virtual ~CTimeTip();

protected:
	DECLARE_MESSAGE_MAP()

private:
	CString m_strText;
	CSize m_csWnd; 
	CRect m_rtWindow;

	CBrush m_brhBackground;
	CPen m_penBackground;

public:
	void SetTipSize(CSize size);
	CSize GetTipSize();
	void SetTipText(CString strText);

	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnPaint();
};


